<template>
  <van-cell center :title="title" :label="author + ' - ' + album">
    <template #right-icon>
      <van-icon @click="jump" name="play-circle-o" size="0.6rem" />
    </template>
  </van-cell>
</template>

<script>
export default {
  name: "",
  // 标题，歌手，专辑
  props: ["id", "title", "author", "album"],
  data() {
    return {};
  },
  created() {},
  methods: {
    jump() {
      // 跳转到 Play组件，并将 歌曲id 传过去
      this.$router.push("/play?id=" + this.id);
    },
  },
  computed: {},
  watch: {},
  components: {},
};
</script>

<style lang="less" scoped>
</style>
